module.exports = {
	devServer: {
		host: '0.0.0.0',
		port: 8080,
		proxy: {
			'/rc': {
				target: 'http://127.0.0.1:10010', //后端api服务器地址
				changeOrigin: true, //是否跨域
				pathRewrite: {
					'^/rc': '' //路径重写
				}
			}
		}
	},
	configureWebpack: {
			devtool: "source-map",
		}
}